#!/bin/bash
md5sum version
pos="/home/jankin/linux/guidance/version2"
#sed -i '$ r `${pos}`' version
sed -i '$ r /home/jankin/linux/guidance/version2' version
stringa=`tail -n 1 version`
echo ${stringa:0:3}
if [ "${stringa:0:3}" == "202" ];then
	echo "true"
else
	echo "false"
fi
sed -i '$d' version
md5sum version
tail  -n 1 version
